package com.lei.design.factory.pizza.ab.pizza;

import com.lei.design.factory.pizza.ab.ingredient.PizzaIngredientFactory;

import java.util.List;

/**
 * @Author LeiXiaoLei
 * @Date 2022/5/17 17:05
 * @Version 1.0
 */
public class CheesePizza extends Pizza {
    public CheesePizza(PizzaIngredientFactory pizzaIngredientFactory, String name) {
        super(name, pizzaIngredientFactory.createDough(), pizzaIngredientFactory.createSauce(), List.of("Grated Reggiano Cheese"));
    }
}
